package com.mdb.open.trade.rabbit.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mdb.bc.api.data.DataObjectBase;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.time.LocalDate;


/**
 * @description:
 * @author: you.yichao
 * @create: 2019-07-13 15:23
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class InwardClaimProcessMo extends DataObjectBase {

    /**
     * 汇款编号
     */
    @ApiModelProperty(value = "汇款编号")
    @NotBlank(message = "汇款编号不允许为空")
    private String remitNo;

    /**
     * 开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "开始日期")
    private LocalDate startDate;

    /**
     * 结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "结束日期")
    private LocalDate endDate;

}
